/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.chain;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/17 21:32
 */
// 定义回应，更好的方式用抽象类，方便拓展
public class Response {
    private String message;

    public Response(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "Response{" +
                "message='" + message + '\'' +
                '}';
    }
}
